﻿using System;

namespace JiaBao.Core.Data
{
    public abstract class BaseDataProviderManager
    {
        #region 属性
        protected DataSettings Settings { get; private set; }
        #endregion

        #region Ctor
        protected BaseDataProviderManager(DataSettings settings)
        {
            if (settings == null)
                throw new ArgumentNullException("settings");
            Settings = settings;
        }
        #endregion

        #region 方法
        public abstract IDataProvider LoadDataPrvider();
        #endregion

    }
}
